package com.example.demo.buessiness.company.model.po;

import lombok.Getter;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "company")
@Getter
@Setter
public class Company{
    @Id
    @Column(name = "ID",nullable = false)
    private Long id;

    @Column(name="COMPANY")
    private String company;

    @Column(name="COM_TEL")
    private Long comTel;

    @Column(name="ADDRESS")
    private String address;

    @Column(name = "DEPARTMENT")
    private String department;

    //成立时间
    @Column(name = "SETTIME")
    private Date setTime;


}